﻿using SqlSugar;

namespace ConsoleAppAotTest
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.ReadKey();
            Console.WriteLine("Hello, World!");
            StaticConfig.EnableAot = true;
            var db = new SqlSugarClient(new ConnectionConfig()
            {
                ConnectionString = $"Data Source={AppContext.BaseDirectory}/test1.db",
                DbType = DbType.Sqlite,
                IsAutoCloseConnection = true
            });

            Console.ReadKey();
        }
    }
}
